package cn.org.rookie.jeesdp.core.quartz;

import org.quartz.JobExecutionContext;
import org.springframework.lang.NonNull;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * @author LHT
 * @date 2022-10-27 20:18
 */

public abstract class DistributedJob extends QuartzJobBean {

    @Override
    protected void executeInternal(@NonNull JobExecutionContext context) {

    }

    abstract void exec(JobExecutionContext context);
}
